import dayjs from "dayjs";

export const formatDateTime = (time, fmt = "YYYY-MM-DD") => {
  return dayjs(time).format(fmt);
};
